#ifndef _RESMANAGER_H_
#define _RESMANAGER_H_

#include "ASprite.h"

class ResManager
{
public:
	ResManager();

	void initialize();
	void _initializeSprites();
	void _loadSprite(u32 id);

	bool stepLoadRes();
	void setSpriteToLoad(u32 id);

	virtual ASprite* getSprite(u32 sprId)const ;

private:
	// --------------- sprites ----------------------------------	
	ASprite*		 m_sprites;
	bool*			 m_spritesState;
	bool*			 m_spritesToLoad;
	u32				 m_nMaxSprites;
	u32              m_nStepLoadSprite;
};

#endif // _TEXTURE_H_
